package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Accessors(chain = true)
@TableName("code_version_admin_see")
@Data
public class CodeVersionAdminSee implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long adminId;

    private Integer seeGuide;//是否查看引导:0未显示；1已显示

    private Integer seeVersion;//是否查看版本公告:0未显示；1已显示

    @ApiModelProperty("created_at")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
}
